package com.yuexunit.operationman.nbsy.module.OperationInventory.ui;

import android.content.Intent;
import android.view.View;
import android.widget.TextView;


import com.yuexunit.operationman.nbsy.R;
import com.yuexunit.operationman.nbsy.base.BaseKJActivity;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by chenss on 2017/8/14 0014.
 */

public class Act_OperationInventory_Sign extends BaseKJActivity {

    @Bind(R.id.titlebar_text_title)
    TextView titlebarTextTitle;

    @Override
    public void setRootView() {
        setContentView(R.layout.act_operationinventory_sign);
        ButterKnife.bind(this);
    }

    @Override
    public void initData() {
        super.initData();
        setTitle();
    }

    private void setTitle()
    {
        titlebarTextTitle.setText("签名");
    }


    @OnClick({R.id.titlebar_img_back, R.id.sign_01, R.id.sign_02, R.id.sign_03, R.id.sign_04})
    public void onViewClicked(View view) {
        Intent intent = new Intent(aty,Act_OperationInventory_SignForm.class);
        switch (view.getId()) {
            case R.id.titlebar_img_back:
                finish();
                break;
            case R.id.sign_01:
                intent.putExtra("type", 1);
                startActivity(intent);
                break;
            case R.id.sign_02:
                intent.putExtra("type",2);
                startActivity(intent);
                break;
            case R.id.sign_03:
                intent.putExtra("type",3);
                startActivity(intent);
                break;
            case R.id.sign_04:
                intent.putExtra("type",4);
                startActivity(intent);
                break;
        }
    }
}
